package com.lordjoe.collectiveintelligence.svm;

import libsvm.*;

/**
 * com.lordjoe.collectiveintelligence.svm.ISVMDataSource
 *
 * @author Steve Lewis
 * @date May 24, 2009
 */
public interface ISVMDataSource
{
    public static ISVMDataSource[] EMPTY_ARRAY = {};
    public static Class THIS_CLASS = ISVMDataSource.class;

    /**
     * Raw, Training or Production
     * @return
     */
    public DataSetType getType();

    /**
     * return the items
     * @return
     */
    public ISVMDataItem[] getDataItems();

    /**
     * return the svm_Nodes from this source
     * @return
     */
    public svm_node[][] getNodes();

}
